<include file="Public:head"/>
<link rel="stylesheet" href="../Public/css/submit.css" type="text/css">
</head>
<body>
<div id="doc4" class="yui-t2">
<include file="Public:top"/>
  <div id="bd">
    <div id="yui-main">
      <div class="yui-b">
        <div class="yui-gc">
          <div class="yui-u first c">
            <div class="lang">
            	<span><a href="__URL__/submit/l/en-us"><img src="../Public/images/en.jpg"></a></span>
                <a href="__URL__/submit/l/en-us">English</a>
                <span style="margin-left:30px;"><a href="__URL__/submit/l/zh-cn"><img src="../Public/images/cn.jpg"></a></span>
                <a href="__URL__/submit/l/zh-cn">中文</a>
            </div><!--lang-->
            <div class="info">
            	<h1 class="title">{$Think.lang._submit_info_title_}</h1>
                <ul>
                	{$Think.lang._submit_info_text_}
                </ul>
                <div class="select">
                    <div class="btn">
                        <div class="btn_l"></div>
                        <div class="btn_c"><a href="__URL__/submit/act/free">{$Think.lang._free_submission_}</a></div>
                        <div class="btn_r"></div>
                    </div>
                    <div class="btn">
                        <div class="btn_l"></div>
                        <div class="btn_c"><a href="__URL__/submit/act/paid">{$Think.lang._paid_submission_}</a></div>
                        <div class="btn_r"></div>
                    </div>
                </div><!--select-->
            </div><!--info-->
<if condition="$act">
	<if condition="$act=='paid'">
            <div class="paid">
            	<div class="l"></div>
                <div class="center">
                	<h1 class="title">{$Think.lang._submit_info_title_}</h1>
                    <ul>
                	{$Think.lang._information_and_rules_text_}
                    </ul>
                </div>
                <div class="r"></div>
            </div><!--paid-->
	</if>
            <div class="clera"></div>
            <div class="submit_list">
            	<form action="__URL__/chk" method="post">
<if condition="$act=='paid'">
                <input type="hidden" name="vip" value="1" />
<else/>
				<input type="hidden" name="vip" value="0" />
</if>
                <input type="hidden" name="lang" value="{$plang['all']}" />
            	<table border="0" style="margin:5px;">
                	<tr>
                    	<th><label for="cat">*{:L(_Category_)}:</label></th>
                        <td>
                        	<select name="cid" id="cat">
                            	<option value="">-- {:L(_Select_Category_)} --</option>
<if condition="$cat_list">
	<volist name="cat_list" id="v">
    	<php>$title='';$title=$v[$plang['l'].'name'];</php>
    	<php>if(count($v['_son'])>0){</php>
                            	<optgroup label="{$title}">
			<volist name="v['_son']" id="vs">
            <php>$title='';$title=$vs[$plang['l'].'name'];</php>
            					<option id="son" value="{$vs['id']}">{$title}</option>
            </volist>
            					</optgroup>
		<php>}else{</php>
                                <option value="{$v['id']}">{$title}</option>
		<php>}</php>
	</volist>
</if>
                            </select>
                        </td>
                     </tr><tr>
                        <th width="120"><label for="sitename">*{:L(_Site_name_)}: </label></th>
                        <td><input type="text" name="sitename" id="sitename" class="w380" /></td>
                     </tr>
                     <tr>
                        <th><label for="showroom">*{:L(_Show_room_)}:</label></th>
                        <td><input type="text" name="showroom" id="showroom" class="w380" /></td>
                     </tr><tr>
                        <th><label for="homepage">{:L(_Home_page_)}:</label></th>
                        <td><input type="text" name="homepage" id="homepage" class="w380" /></td>
                     </tr>
                     <tr>
                        <th><label for="about">*{:L(_Description_)}:</label></th>
                        <td><textarea name="about" id="about" class="w380 h100"></textarea></td>
                     </tr>
                     <tr>
                        <th><label for="keywords">{:L(_META_Keywords_)}:</label></th>
                        <td><input type="text" name="keywords" id="keywords" class="w380" /></td>
                     </tr><tr>
                        <th><label for="description">{:L(_META_Description_)}:</label></th>
                        <td><textarea type="text" name="description" id="description" class="w380 h100"></textarea></td>
                     </tr><tr>
                        <th><label for="contact_person">*{:L(_Contact_Person_)}:</label></th>
                        <td><input type="text" name="contact_person" id="contact_person" class="w380" /></td>
                     </tr><tr>
                        <th><label for="email">*{:L(_Email_)}:</label></th>
                        <td><input type="text" name="email" id="email" /></td>
                     </tr><tr>
                        <th><label for="phone">* {:L(_Phone_)}:</label></th>
                        <td><input type="text" name="phone" id="phone" /></td>
                     </tr>
                     <tr>
                        <th><label for="fax">{:L(_Fax_)}:</label></th>
                        <td><input type="text" name="fax" id="fax" /></td>
                     </tr><tr>
                        <th><label>{:L(_Company_Name_)}</label></th>
                        <td></td>
                     </tr><tr>
                        <th><label for="ename">{:L(_In_English_)}:</label></th>
                        <td><input type="text" name="ename" id="ename" class="w380" /></td>
                     </tr><tr>
                        <th><label for="cname">{:L(_In_Chinese_)}:</label></th>
                        <td><input type="text" name="cname" id="cname" class="w380" /></td>
                     </tr>
                     <tr>
                        <th><label for="add">{:L(_Company_Add_)}:</label></th>
                        <td><input type="text" name="add" id="add" class="w380" /></td>
                     </tr>
                     <tr>
                        <th><label for="postcode">{:L(_Postcode_)}:</label></th>
                        <td><input type="text" name="postcode" id="postcode" /></td>
                    </tr>
                    <tr><td colspan="2" height="5"></td></tr>
<if condition="$act=='paid'">
                    <tr><td colspan="2" style="background-color:#efefef; padding:5px;">
                    	<h4>We offer additional promotional services for your website! Please tick as appropriate if you would
like to know more about the relative items:</h4>
                        <p>
                        	<input name="server[]" type="checkbox" value="1" />{:L(_Site_of_the_day_)}<br />
                            <input name="server[]" type="checkbox" value="2" />{:L(_Hot_Listing_)}<br />
                            <input name="server[]" type="checkbox" value="3" />{:L(_Focus_)}<br />
                            <input name="server[]" type="checkbox" value="4" />{:L(_Featured_Links_)}<br />
                            <input name="server[]" type="checkbox" value="5" />{:L(_Most_Popular_)}<br />
                            <input name="server[]" type="checkbox" value="6" />{:L(_Forum_ADs_)}<br />
                            <input name="server[]" type="checkbox" value="7" />{:L(_Biding_)}<br />
                            <input name="server[]" type="checkbox" value="8" />{:L(_Featured_sites_)}<br />
                        </p>
                    </td></tr>
                    <tr><td colspan="2" height="5"></td></tr>
</if>
                    <tr>
                    	<td colspan="2" align="center">
                        	<input type="submit" value="{:L(_Submit_now_)}" />
                        </td>
                    </tr>
                </table>
               
                </form>
            </div><!--submit_list-->
</if>
          </div><!--yui-u first c-->
          <div class="yui-u r">
          	<include file="Public:right"/>
          </div>
        </div>
      </div>
    </div>
    <include file="Public:left"/>
  </div>
<include file="Public:foot"/>
